package com.acegear.horizon.domain.repository.jpa;

import java.util.List;
import java.util.Optional;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.acegear.horizon.domain.models.jpa.ActivityBase;
import com.acegear.horizon.domain.models.jpa.UserInfo;

public interface ActivityBaseRepository extends PagingAndSortingRepository<ActivityBase, Long>{
	
	List<ActivityBase> findActivityListByName(String name);
	
	Optional<ActivityBase> findByActivityId(Long id);
	
}
